package com.broad.commerce.code.modules.jdbc;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author stephen
 * @version V1.0
 * @date 2022-02-06 22:55
 * @description: Table
 **/
@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class EntityField {
	private String fieldName;
	private Class<?> fieldType;
	private String fieldComment;
	private Boolean required = Boolean.FALSE;//是否必填
	private Object defaultValue;//默认值
	private Integer length;
}
